<?php
echo $_POST[description];
$con = mysql_connect('localhost', 'yinch838', 'yinch838-09');
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

mysql_select_db("yinch838", $con);

$sql="UPDATE product SET name='$_POST[name]',ingredients='$_POST[ingredients]',description='$_POST[description]',taste='$_POST[taste]',grade='$_POST[grade]',price='$_POST[price]' WHERE productcode = '$_POST[productcode]'";
	echo $sql;
mysql_query($sql);
mysql_close();
	
	?>